﻿<Window x:Class="PowerSong.UserInterface.ConvertOldDatabaseWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="Convert Old PowerSong Database" Height="289" Width="483" xmlns:my="clr-namespace:PowerSong.UserInterface"
        WindowStartupLocation="CenterScreen" ResizeMode="NoResize" Icon="/PowerSong;component/Icons/BlackIcon.ico">
    <Grid>
        <Button Content="_Cancel" Height="23" HorizontalAlignment="Right" Margin="0,0,12,12" Name="CancelButton" VerticalAlignment="Bottom" Width="75" Click="CancelButton_Click" IsCancel="True" />
        <Button Content="_OK" Height="23" HorizontalAlignment="Right" Margin="0,0,93,12" Name="OKButton" VerticalAlignment="Bottom" Width="75" Click="OKButton_Click" IsDefault="True" />
        <TextBlock TextWrapping="Wrap" Margin="12,12,12,0" Text="You can use this facility to convert an old PowerSong 1.0 database so that it works with this version of PowerSong. The database that you select will be converted into a single file, stored in the location of your choice." VerticalAlignment="Top" />
        <TextBlock HorizontalAlignment="Left" Margin="12,79,0,0" Text="What is the location of the PowerSong 1.0 database?" VerticalAlignment="Top" />
        <TextBlock HorizontalAlignment="Left" Margin="12,141,0,0" Text="What file name do you want to give the new, converted database?" VerticalAlignment="Top" />
        <CheckBox Content="Use the converted database immediately" Height="16" HorizontalAlignment="Left" Margin="12,0,0,15" Name="UseDatabaseCheckBox" IsChecked="True" VerticalAlignment="Bottom" />
        <my:SaveFileControl Margin="54,163,12,0" x:Name="TargetFileNameTextBox" VerticalAlignment="Top" />
        <my:SelectFolderControl Margin="54,101,12,0" x:Name="LocationTextBox" VerticalAlignment="Top" DialogPrompt="Please select the classic PowerSong database you would like to upgrade" FolderNameChanged="LocationTextBox_FolderNameChanged" />
    </Grid>
</Window>
